package com.example.demo.design.demo14_observer;

/**
 * Created by 蔡超 on 2018/10/4.
 */
public interface Subject {
    void attach(Observer observer);

    void detach(Observer observer);

    void notifyObserver();
}
